package com.tjcu.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 王恒杰
 * @version 1.0
 * @date 2021/11/2 19:44
 * @email 1078993387@qq.com
 * @Address 天津
 * @Description:
 */
public class Group implements Serializable {
    private Integer gid;
    private String gname;
    private Date gtime;
    private Clazz clazz;

    public Group() {
    }

    public Group(Integer gid, String gname, Date gtime, Clazz clazz) {
        this.gid = gid;
        this.gname = gname;
        this.gtime = gtime;
        this.clazz = clazz;
    }

    public Integer getGid() {
        return gid;
    }

    public void setGid(Integer gid) {
        this.gid = gid;
    }

    public String getGname() {
        return gname;
    }

    public void setGname(String gname) {
        this.gname = gname;
    }

    public Date getGtime() {
        return gtime;
    }

    public void setGtime(Date gtime) {
        this.gtime = gtime;
    }

    public Clazz getClazz() {
        return clazz;
    }

    public void setClazz(Clazz clazz) {
        this.clazz = clazz;
    }

    @Override
    public String toString() {
        return "Group{" +
                "gid=" + gid +
                ", gname='" + gname + '\'' +
                ", gtime=" + gtime +
                ", clazz=" + clazz +
                '}';
    }
}
